<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
 <h:head> <title><ui:insert name="Titulo">Titulo Default</ui:insert ></title>
 </h:head>
    <h:body>
        
        <h:panelGrid width="1000" border="2" >
            <img src="../resource/bannerEpa.jpg" align="center" style="left:50px" width="996" height="100" alt="bannerEpa"/>
        </h:panelGrid>
        <h:panelGrid columns="2" cellpadding="0" cellspacing="0">
            <h:panelGrid border="2" columns="1" width="200" bgcolor="#FFFFCC">
             <h:form>
                 <h:panelGrid columns="1">
                     <h:outputText value="Olá #{EPAControle.usuario.nome}!"/>
                     <h:commandLink value="Página Inicial" action="home"></h:commandLink>
                     <h:outputText value="Disciplinas:"/>
                     <c:forEach items="#{EPAControle.listaDisciplinas}" var="varDisciplina">
                         <h:commandLink value="#{varDisciplina.nome}" action="#{varDisciplina.selecionaDisciplina}"></h:commandLink>
                     </c:forEach>
                     <h:commandLink value="Avaliações" action="#{avaliacoesControle.abreAvaliacoes}"/>
                     <h:outputText value="Cadastros:"/>
                     <h:commandLink value="Cadastro de Disciplina" action="exercicioTipo1"></h:commandLink>
                     <h:commandLink value="Cadastro de Exercício" action="cadastroExercicio"></h:commandLink>
                     <h:commandLink value="Cadastro de Usuário" action="cadastroUsuario"></h:commandLink>

                     <h:outputText value="Exemplos"/>
                     <h:commandLink value="Imagens" action="exercicioMock1"></h:commandLink>
                     <h:commandLink value="Video" action="exercicioMock2"></h:commandLink>
                 </h:panelGrid>
             </h:form>
         </h:panelGrid>
            <h:panelGrid border="2" bgcolor="#CCCCCC"  width="800" columns="1" >
            <h:form>
                <h:panelGrid columns="1">
                    <ui:insert name="conteudo">Coloque o conteúdo de sua página aqui.</ui:insert>
                 </h:panelGrid>
             </h:form>
          </h:panelGrid>
            
        </h:panelGrid>
        
    </h:body>
</html>
